var Student = require('./student.js').Student;

function studentTest() {
    var result = 'My name is Tom. I am 21 years old. I am a Student. I am at Class 2.';
    var student = new Student('Tom', 21, 2);
    if (student.introduce() === result) {
        console.log('test passed');
    } else {
        console.log('test failed');
    }
}

studentTest();